package com.xnyzc.lhy.finance.entity.bank;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;

/**
 *  司机绑定支付宝 对象
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="OaDBindAlipay对象", description="")
public class OaDBindAlipay implements Serializable {

    private static final long serialVersionUID = 54984519L;

    @ApiModelProperty(value = "ID")
    @TableId(value="alipay_id", type = IdType.INPUT)
    private Long alipayId;

    @ApiModelProperty(value = "司机ID")
    private Long driverId;

    @ApiModelProperty(value = "支付宝账号")
    private String alipayNumber;

    @ApiModelProperty(value = "支付宝使用人姓名")
    private String alipayName;

    @ApiModelProperty(value = "支付宝手机号")
    private String alipayPhone;

    @ApiModelProperty(value = "当前是否使用此支付宝(0:不使用,1:使用)")
    private Integer isUsed;

    @ApiModelProperty(value = "是否删除")
    private Integer deleted;

    @ApiModelProperty(value = "创建人")
    private Long createUser;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改人")
    private Long updateUser;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    @ApiModelProperty(value = "最后一次提现时间")
    private Date withdrawalTime;

    @ApiModelProperty(value = "支付宝唯一的用户id")
    private String alipayUserId;

    @ApiModelProperty(value = "支付宝用户昵称")
    private String alipayNickName;

    public static final String DRIVER_ID = "driver_id";

    public static final String IS_USED = "is_used";

    public static final String DELETED="deleted";
}
